.class Lcom/waiqin365/lightapp/syorder/view/ah;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/ah;->a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/ah;->a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->a:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/ah;->a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->l()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/ah;->a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/seniorvisitcache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/seniorvisitcache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/ah;->a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->l()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/ah;->a:Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/syorder/view/SySingleTextView;->m()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/seniorvisitcache/f;->a(Ljava/lang/String;Ljava/lang/String;)Z

    :cond_0
    return-void
.end method
